Skip to content

test(fprintd): xfail --finger in container #1376

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 11, 2025

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented May 7, 2025

Containers usually don't have fingerprint readers

@yedayak yedayak force-pushed the fprintd-skip-no-dbus branch from 0861966 to 42e2ba3 Compare May 7, 2025 18:23
@yedayak yedayak changed the title test(fprintd): --finger doesn't work without dbus test(fprintd): xfail --finger in container May 7, 2025
@yedayak yedayak requested a review from scop May 9, 2025 15:45
@@ -13,6 +15,9 @@ def test_basic(self, completion):
def test_options(self, completion):
assert completion

@pytest.mark.xfail(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@pytest.mark.xfail(
@pytest.mark.skipif(

I think we should be skipping and not xfailing tests in scenarios like this. We seem to have the same problem in at least some of our xfail vs skip uses and should review and fix them all up in another PR. (For example, in strict xfail mode, an unexpected pass would cause the tests to fail.)

Pre-approved with that addressed.

Containers usually don't have fingerprint readers

Co-Authored-By: Ville Skyttä <[email protected]>
@yedayak yedayak force-pushed the fprintd-skip-no-dbus branch from 42e2ba3 to 7d7062e Compare May 11, 2025 15:52
@yedayak
Copy link
Collaborator Author

yedayak commented May 11, 2025

Created #1380 for the ubuntu 14 fail, merging.

@yedayak yedayak merged commit 9f5aedb into scop:main May 11, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants